#pragma once

#include <QObject>
#include <QVector>
#include "objectentities.h"
#include "port3dapi_global.h"

class PORT3DAPI_EXPORT ObjectEntitiesArray:public QObject
{
	Q_OBJECT
		Q_CLASSINFO("ClassID", "{51c8aa4c-92ad-4521-92cc-20321fc01995}")
		Q_CLASSINFO("InterfaceID", "{6dcc9b35-4616-4675-bd1a-9ccf1e90c0e6}")
		Q_CLASSINFO("EventsID", "{82baf62a-da27-418f-a529-057ef3b4b01d}")
public:
	ObjectEntitiesArray(QObject *parent = 0);
	ObjectEntitiesArray(const ObjectEntitiesArray & u);
	~ObjectEntitiesArray();
	QVector<ObjectEntities*>									_objectEntitiesVector;
public slots:
	void addObjectEntities(ObjectEntities* object);
	void removeObjectEntities(const QString& id);
	void clear();
	int size();
};